<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>京东搜索栏</title>
    <style>
        .search {
            display: flex; 
            border: 1px solid #ccc;
            width: 300px;
        }
        .search input {
            border: none;
            flex: 1; 
            padding: 8px; 
             
        }
        .search button {
            background-color: red;
            color: white; 
            border: none; 
            padding: 0 15px; 
        }
    </style>
</head>
<body>
    <div class="search">
        <input type="text" placeholder="搜索 京东商品">
        <button>搜索</button>
    </div>
</body>
</html>